<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page import="org.springframework.jdbc.core.JdbcTemplate"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="java.util.Enumeration"%>
<%@page import="java.net.InetAddress"%>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<c-rt:set var="ss" value='<%=System.currentTimeMillis()%>'/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="TENCENT_ONLINE_PAYMENT" content="China TENCENT">
<title>參數測試</title>
<script src="/js/jquery-1.3.2.min.js" type="text/javascript" charset="UTF-8"></script>
</head>
<body>
<script language="javascript">
	$().ready(function() {	
		$("#charge").click(function(){
			if ( "" == $("#chargeOrderId").val() ){
				alert("请输入收款订单编号");
				return;
			}else{
				$.ajax({
				    url: 'http://feeling-nb.yaodian100.com/ecadmin/common/chargeOrder.do',
				    type: 'post',
				    dataType: 'json',
				    data: {orderId:$("#chargeOrderId").val()},
				    cache: false,
				    success: function( actionResult ){
					    alert(actionResult);
				    }
				});
			}
		});
	});
</script>
<p>收款：</p>
<p>订单编号：<input type="text" id="chargeOrderId" name="orderId"/></p>
<input id="charge" type="button" value="確定"/>
</body>
</html>